import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: () => import('../views/WorkeAdd.vue'),
    },
    {
      path: '/list',
      component: () => import('../views/WorkeList.vue'),
      
    },
    {
      path: '/upd',
      component: () => import('../views/WorkeUpd.vue'),
      
    },
    {
      path: '/aadd',
      component: () => import('../views/ActAdd.vue'),
      
    }
    ,
    {
      path: '/alist',
      component: () => import('../views/ActList.vue'),
      
    }
    ,
    {
      path: '/aupd',
      component: () => import('../views/ActUpd.vue'),
      
    } ,
    {
      path: '/look',
      component: () => import('../views/ActLook.vue'),
      
    }
  ],
})

export default router
